package edu.ntu.helper;

import java.util.ArrayList;

import android.util.Log;

/** Contains getter and setter method for varialbles */
public class CommentList {

	/** Variables */
	private ArrayList<Integer> index = new ArrayList<Integer>();
	private ArrayList<String> comm_text = new ArrayList<String>();
	private ArrayList<Integer> story_index = new ArrayList<Integer>();
	private ArrayList<String> submit_time = new ArrayList<String>();

	/**
	 * In Setter method default it will return arraylist change that to add
	 */

	public ArrayList<Integer> getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index.add(index);
	}

	public ArrayList<String> getComment() {
		return comm_text;
	}

	public void setComment(String comment) {
		this.comm_text.add(comment);
	}

	public ArrayList<Integer> getStoryIndex() {
		return story_index;
	}

	public void setStoryIndex(int storyIndex) {
		this.story_index.add(storyIndex);
	}
	
	public ArrayList<String> getSubmit_time() {
		return submit_time;
	}

	public void setSubmit_time(String submit_time) {
		this.submit_time.add(submit_time);
	}
	
	public int getSize(){
		return index.size();
	}

}